package com.wh.wisdomsite.xbox.ba.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * xbox框架-Xbox日志附属表
 * @Package com.wh.wisdomsite.xbox.ba.entity
 * @author 谢泽鹏
 * @date 2014年10月8日 下午4:02:14
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2014
 * @version V1.0
 */
@TableName("xbox_sub_log")
public class XboxSubLog extends Model<XboxSubLog> {



    /**
     * 附属日志编号
     */
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 日志主表编号
     */
    @TableField("T_RID")
    private String rid;

    /**
     * 业务参数
     */
    @TableField("T_BIND_OBJECT")
    private String bindObject;

    /**
     * 响应结果
     */
    @TableField("T_OUTPUT")
    private String output;

    /**
     * 异常信息
     */
    @TableField("T_EXCEPTION")
    private String exception;

    /**
     * 请求时间
     */
    @TableField("T_CREATE_DATE")
    private Timestamp createDate;

    /**
     * 修改时间
     */
    @TableField("T_UPDATE_DATE")
    private Timestamp updateDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getBindObject() {
        return bindObject;
    }

    public void setBindObject(String bindObject) {
        this.bindObject = bindObject;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    public Timestamp getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Timestamp updateDate) {
        this.updateDate = updateDate;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
